package com.test.sdk.sdkcore.service;

import com.test.sdk.sdkcore.pojo.OnlineUser;
import com.test.sdk.sdkcore.pojo.User;
import com.test.sdk.sdkcore.exception.SdkException;

public interface UserService {

    User doNameRegist(String name, String password) throws SdkException;

    User doNumRegist(String num, String code, String password) throws SdkException;

    boolean doSendCode(String num) throws SdkException;

    OnlineUser doLogin(String account, String password) throws SdkException;

    void updateLastAct(String ticket);

}
